package jUnitTestSuite;

public class Product
{
	private String name;
	private double price;
	
	public Product( String name, double price )
	{
		this.name = name;
		this.price = price;
	}
	
	public void increasePrice( double incAmt )
	{
		price += incAmt;
	}
	
	public void decreasePrice( double decAmt )
	{
		price -= decAmt;
	}
	
	public String getName()
	{
		return name;
	}
	
	public double getPrice()
	{
		return price;
	}
	
	public void setName( String newName )
	{
		this.name = newName;
	}

	public void setPrice( double price )
	{
		this.price = price;
	}
	
	public String toString()
	{
		return "Product: " + name + " Price: $" + price;
	}
}
